package com.museum.entity.DTO.user;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.museum.entity.DTO.role.UserRoleDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author LB
 * @version 1.0
 * @date 2020/12/8 14:50
 */
@Data
public class UserAll {

    @ApiModelProperty(value = "自增主键")
    private Integer userId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "用户状态")
    private Integer userStatus;

    @ApiModelProperty(value = "性别")
    private String userSex;

    @ApiModelProperty(value = "地域编号")
    private String areaName;


    @ApiModelProperty(value = "密码")
    private String userPassword;

    @ApiModelProperty(value = "备注")
    private String userDesc;

    @ApiModelProperty(value = "电话")
    private String userPhone;

    @ApiModelProperty(value = "邮箱")
    private String userEmail;

    @ApiModelProperty(value = "逻辑删除1（true）已删除，0（false）未删除")
    private Integer isDeleted;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private String updateTime;


    @ApiModelProperty(value = "人员职务")
    private String userWork;


    @ApiModelProperty(value = "角色信息")
    private UserRoleDTO userRole;

    @ApiModelProperty(value = "地域编号")
    private Integer areaNumber;
}